<?php
if (strcmp($datadump["status"], "hasUserData") == 0) {
	echo '<a href=' . $userLogoutPage  . '>  Logout  </a>';
} else {
	echo '<a href=' . $userLoginPage . '>   Login </a>';
}

//echo '<pre><a href=' . $mysitebase . '> Home </a>';
//echo '<a href=' . $userManagePage . '>  ManageMyKopyKat  </a>';
//echo '<a href=' . $userLogoutPage  . '>  Logout  </a>';
//echo '<a href=' . $userSLInstallPage . '>   InstallKopyKat </a></pre>'; 
if($catdebug) {
	print_r($datadump);
	echo ("\n<br />Your Status : " . $datadump["status"]);
	echo ("\n<br />Your Session: " . $datadump["sessionID"]);
	echo ("\n<br />Your SessionCount: " . $datadump["sessions"]["sessionCount"]);
	echo ("\n<br />Your User ID: " . $datadump["sessions"][1]["uid"]);
	echo ("\n<br />Your User Count: " . $datadump["users"]["userCount"]);	
	echo ("\n<br />");
}
?>





